package DB_Layer;

import Model_Layer.*;
import java.util.*;

/**
 * Interface to the DB_Invoice
 * @author Gruppe 5
 *
 */


public interface IFDB_Invoice {
	//Get all Invoice's
	public ArrayList<Invoice> getAllInvoice (boolean retriveAssociation);
	//Get one Invoice having the ID
	public Invoice findInvoiceID(int ID, boolean retriveAssociation);
	//Get one Invoice having the InvoiceNo
	public Invoice findInvoiceNo(int no, boolean retriveAssociation);
	
	
	//Insert a new Invoice
	public int insertInvoice(Invoice inv) throws Exception;
	//Update information about an Invoice
	public int updateInvoice(Invoice inv);

}
